@charset "utf-8";

/* GENERAL */
.clear {
	clear: both;	
}


body {
	background-color: #F2F1FF;
	background:url(../images/bg.jpg) top left repeat scroll;
	/*font-family: "Gungsuh", "Times New Roman", Times, serif ;*/
	font-size: 16px;
	/*font-family: "Lucida Sans Unicode";*/
	/*font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;*/
	font-family: "Cambria";
}
.w900 {
	width: 905px;
	margin: 0 auto;
}
.w200 {
	width: 200px;
}
.w700 {
	width: 700px;
	float: right;
}
a {
	color: #444444;
	text-decoration: none;
	cursor:pointer;

}
a:hover {
	text-decoration: underline;
}
h3 {
	color: #444444;
	font-size: 18px;
	margin-bottom: 10px;
}
h4 {
	color: #a2a4a4;
	font-size: 14px;
	margin-bottom: 5px;
}
table.list {
	border-collapse: collapse;
	width: 880px;
	background-color:white;
}
table.list thead {
	background-color: white;
	font-weight: bold;
	text-align: center;

}
table.list td, table.list th {
	border: 1px solid #a2a4a4;
	padding:3px 0px
}
table.list th, table.list th a
{
		color:#a2a4a4;}

/* HEADER */
#header {
	height: 175px;
	/*background: transparent url(../images/header-background.gif) left center repeat-x;*/
	color: #FFFFFF;
	padding: 0;
}
#header a {
	background-color: transparent;
	color: #FFFFFF;
	text-decoration: none;
}
#header a:hover {
	text-decoration: underline;	
}
#header #logo {
	width: 114px;
	height: 87px;
	float: left;
	background: none;
	margin-top:-20px;
}
#header #logo a {
    display: block;
    height: 152px;
    margin-left: -22px;
    margin-top: 36px;
    text-indent: -9000px;
    width: 300px;
	/*background: transparent url(../images/logo.png) no-repeat left top;*/
}
/*#header #logo a.student {
	background: transparent url(../images/logo-student.gif) no-repeat left top;
}*/
#header #logo a.teacher {
	background: transparent url(../images/logo.png) no-repeat 4px 0;
}
/*#header #logo a.admin {
	background: transparent url(../images/logo-admin.gif) no-repeat left top;
}*/
#header #mainMenu {
	float: left;
	margin: 39px 0 0 30px;
	font-size: 17px;
}
#header #mainMenu li {
	display: inline;
	margin-left: 10px;
	padding-left: 12px;
	background: transparent url(../images/divider-small.gif) no-repeat left center;
}
#header #mainMenu li.first {
	background: none;
}
#header #user {
	float: right;
	text-align: right;
	margin-top: 20px;
	color: #444444;
}
#header #user a{
	color: #a2a4a4;
}
#header #user em {
	color: #BDBCDB;
	font-size: 17px;
}
#header #user ul li{
	display: inline;
	margin-left: 7px;
	padding-left: 9px;
	background: transparent url(../images/divider-mini.gif) no-repeat left center;
}
#header #user ul li.first {
	background: none;
}

/* LOGIN */
#login {
	width: 300px;
	height: 200px;
	margin:0 auto 150px;
	font-size: 12px;
	/*font-style: italic;*/
}
#login h2 {
	margin: 0 0 15px 16px;
	font-size: 21px;
}
#login form fieldset {
	height: 170px;
	border: #AEAEAE 1px solid;
	background-color: #FFFFFF;
}
#login form label {
	display: block;
}
#login form input {
	display: block;
	/*font-size: 15px;*/
	/*font-style: italic;*/
	/*font-weight: bold;*/
	height: 20px;
	margin: 3px auto;
	padding: 5px;
	width: 260px;
	border:gray 1px solid;
	background-color: white;
}
#login form label {
	margin: 5px 15px 0;	
}
#login form span.submit {
	/*background: transparent url(../images/button-left.gif) no-repeat left center;*/
	float: right;
	margin: 10px 15px;
	cursor:pointer
}
#login form span.submit input {
	font-size: 13px;
	border: none;
	width: auto;
	margin: 0;
	padding: 0 10px 2px 5px;
	background-color:transparent;
	cursor:pointer;
	font-family: "Cambria";
	/*color: #FFFFFF;*/
	/*background: transparent url(../images/button-right.gif) no-repeat right center;*/
}

/* SUBMENU */
#subMenu {
	display: block;
}
h2.home a {
	color: #FFFFFF;
}
#subMenu h2 {
	background: transparent url(../images/box-top.gif) no-repeat left top;
	color: #FFFFFF;
	font-size: 17px;
	padding: 10px 5px 5px 15px;
}
#subMenu ul {
	/*list-style: none;*/
	/*padding-bottom: 15px;*/
}
#subMenu ul li {
	/*background: transparent url(../images/divider-large.gif) no-repeat left top;*/
	/*margin-left: 15px;*/
	/*width: 146px;*/
}
#subMenu ul li.active ul {
	background: none;
	padding: 0;
	width: 148px;
}
#subMenu ul li.active ul li {
	width: 131px;
	padding-bottom: 0;
}
#subMenu ul li.active ul li ul li {
	width: 114px;
	padding-bottom: 0;
}
#subMenu ul li a {
	color: #a2a4a4;
	text-decoration: none;
	margin-right:25px;
	/*display: block;*/
	/*background: transparent url(../images/menupoint.gif) no-repeat left 10px;*/
	padding: 0px 10px 5px 15px;
	font-size:18px;
	text-transform: uppercase;
	float:left;
}
#subMenu ul li a:hover {
	text-decoration: underline;
}
#subMenu ul li.active a {
	color: #444444;
	/*background: transparent url(../images/menupoint-active.gif) no-repeat left 10px;*/
}
#subMenu ul li.active ul li a {
	background: transparent url(../images/menupoint-second.gif) no-repeat left 12px;
}
#subMenu ul li.active ul li.active a {
	background: transparent url(../images/menupoint-second-active.gif) no-repeat left 12px;
}
#subMenu ul li.active ul li.active ul li a {
	background: transparent url(../images/menupoint-second.gif) no-repeat left 12px;
}
#subMenu ul li.active ul li.active ul li.active a {
	background: transparent url(../images/menupoint-second-active.gif) no-repeat left 12px;
}

/* FOOTER */
#footer {
	clear: both;
	width: 900px;
	text-align: center;
	padding: 10px 0 5px;
}
#footer p {
	color: #444444;
}

#footer p a {
	color: #444444;
}

/* TESTFORM */
.testForm, .newForm, .viewForm, .listing {
	/*margin: 5px 0 10px;;*/
	/*background-color: #FFFFFF;*/
	padding-top: 10px;
	/*border: 1px solid #DFDFDF;*/
}
.testForm form fieldset, .newForm form fieldset {
	border: none;
}
.testForm dl {
	margin-left: 5px;
}
.testForm dl span {
	float: left;
}
.testForm dl dt {
	margin-top: 15px;
}
.testForm dl dt em {
	font-weight: bold;
}
.testForm dl dt em.point {
	margin-left: 20px;
}
.testForm dl dd {
	margin: 3px 0 0 10px;
}
.testForm dl dd input {
	margin-right: 3px;
}
.testForm dl dd input.text {
	border: #7B7EB2 1px solid;
	width: 645px;
}
.testForm dl dd textarea {
	border: #7B7EB2 1px solid;
	width: 645px;
	height: 150px;
}
.testForm form .submit, .newForm form .submit, .form form .submit {
	margin: 20px 20px 10px 0;
	float: right;
	/*background: transparent url(../images/button-left.gif) no-repeat left top;*/
}
.testForm form .submit input, .newForm form .submit input, .form form .submit input, .submit button {
	/*background: transparent url(../images/button-right.gif) no-repeat right top;*/
	color: #444444;
	border: none;
	padding: 3px 5px;
	cursor: pointer;
}
.submit input
{
	background: transparent url(../images/check.gif) no-repeat;
	padding: 0px 0 15px 30px !important;
}
.submit button#count
{
	background: transparent url(../images/count.png) no-repeat;
	padding: 0px 0 15px 30px !important;
	margin-bottom:10px;
}


/* NEWFORM */
.newForm fieldset {
	margin: 5px;
}
.form fieldset {
	border: none;
}
.form .simple {
	width: auto;
}
.newForm label, .form label {
	display: block;
	font-weight: bold;
	margin-left:17px;
}

.newForm .checkbox label {
	display: inline;
}

.newForm input, .newForm select, .newForm textarea, .form input, .form select {
    border: 1px solid #A2A4A4;
    color: gray;
    font-size: 18px;
    height: 30px;
    margin: 3px 5px 10px;
    width: 875px;
	font-family: "Cambria";
}

.newForm .checkbox input{
	width: auto;
	height: auto;
	vertical-align: middle;
}

.newForm select.multi {
	border: #A2A4A4 1px solid;
	height: 70px;
	padding: 0 3px;
}
.newForm select.datetime {
	width: 100px;
}
.newForm textarea {
	/*font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;*/
	font-family: "Cambria";
	font-size: 18px;
	border: #A2A4A4 1px solid;
	width: 875px;
	height: 150px; 
}
.newForm input.answer {
	width: 550px;
}
.newForm input.correct {
	width: auto;
}
.newForm form .submit input, .form form .submit input, .submit button {
	width: auto;
	margin: 0;
}
.newForm #answers span input, .newForm #answers span label {
	float: left;
}
.newForm #answers span label {
	display: inline;
	font-weight: normal;
}
.newForm #answers span a {
	text-indent: -9000px;
	margin: 3px 0 0 8px;
	background: transparent url(../images/psd-delete-icon15px.gif) no-repeat left top;
	display: block;
	float: left;
	width: 15px;
}
.newForm form .add a:hover {
	text-decoration: underline;
}

.newForm .error-message {
	color: #FF0000;
}

.newForm .input.text.datum {
	float: left;
}

.newForm .checkbox.not_available {
	float: left;
	padding: 9px 0 0 15px;
}

/* VIEWFORM */
.viewForm  dl dt {
	width: 150px;
	font-weight: bold;
	margin-top: 5px; 
	float: left;
	clear: both;
}
.viewForm dl dd {
	margin-top: 5px;
	float: left;
}
.viewForm dl dd table.list {
	width: 500px;
}

/* LISTING */
.listing table th.identifier {
	width: 30px;
}
.listing table th.col20 {
	width: 20px;
}
.listing table th.col50 {
	width: 50px;
}
.listing table th.col100 {
	width: 100px;
}
.listing table th.col150 {
	width: 150px;
}
.listing table th.col200 {
	width: 200px;
}
.listing table th.col250 {
	width: 250px;
}
.listing table th.col300 {
	width: 300px;
}
.listing table td.number {
	text-align: right;
}
.listing table td.red {
	color: #E20B32;
}
.listing table td.green {
	color: #149600;
}
.listing table td.orange {
	color: orange;
}
.listing table td.blue {
	color: #3582FF;
}
.listing table th.action {
	width: 85px;
}
.listing table thead a {
	/*color:#000000;*/
	font-weight:normal;
}
.listing table a.show, .listing table a.delete, .listing table a.edit {
    display: block;
    float: left;
    height: 25px;
   /* margin: 0 4px;*/
    text-indent: -9000px;
    vertical-align: middle;
    width: 24px;
}
.listing table a.show {
	background: transparent url(../images/display.gif) no-repeat left top;
}

.listing table a.edit {
	background: transparent url(../images/edit.gif) no-repeat left top;
}
.listing table a.delete {
	background: transparent url(../images/psd-delete-icon15px.gif) no-repeat left top;
}
.listing .pager {
	margin: 5px 5px 10px 5px;
}
.listing .pager div {
	display: inline;
	margin: 0 3px;
}
.listing .pager .current {
	font-weight: bold;
	color: #36375C;
}
.listing .pager .disabled {
	color: #36375C;
}

/* FLASHMESSAGE */
#flashMessage {
	border:	1px solid #7B7EB2;
	padding: 5px;
	margin: 5px;
	text-align: center;
/*	background-color: #CDD9E5;*/
	font-weight: bold;
}

.flash.error {
	color: #E20B32;
}

.flash.warning {
	color: orange;
}

.flash.success {
	color: #149600;
}

.material_group_heading
{
  font-weight: bold;
  font-variant: small-caps;
  text-align: center;
  background-color: rgb(215,222,229);
}

/* SEARCH */
#search {
	color: #343552;
	font-size: 12px;
	font-style: italic;
}
#search form fieldset {
	height: 140px;
	border: #AEAEAE 1px solid;
	background-color: #FFFFFF;
}
#search form span.submit {
	background: transparent url(../images/button-left.gif) no-repeat left center;
	float: right;
	margin: 10px 15px;
}
#search form span.submit input {
	font-size: 13px;
	border: none;
	width: auto;
	margin: 0;
	padding: 0 10px 2px 5px;
	color: #FFFFFF;
	background: transparent url(../images/button-right.gif) no-repeat right center;
}

.tree ul li {
    margin: 0 20px;
	list-style: circle;
}

.tree .show_tree {
	display: inline-table;
	width: 15px;
	height: 15px;
	margin: 0 3px;
	background: transparent url(../images/tree.png) no-repeat left top;
	vertical-align: middle;
}

.total_commission {
	text-align: center;
}

.hdn {
	display: none;
}

.top_links {
	padding-top: 5px;
	padding-bottom: 10px;
	font-size: 16px;
}
.top_links a {
	color: #a2a4a4;
}
.top_links span {
	color: #a2a4a4;
}
/*---------------------OTHER---------------------*/
#button_links
{
	left: 155px;
    position: relative;
    margin-bottom:55px;
	text-transform: lowercase;
}
#button_links a
{
	margin-right:85px;
	color: #a2a4a4;
}
#button_links a.active
{
	color: #444444;
}
.listing h3
{
	margin-left:12px
}
tr
{
	height: 37px;
}
table.list td.center
{
	text-align: center;
	padding: 0;
}
table.list td
{
	padding: 5px 5px 5px 5px;
}
.pager
{
	color:gray;
	font-size:16px;
	padding-top:5px;
}
.pager .active
{
	color:black;
}
#uzivatel
{
	float:right;
}

.newForm .required label:after {
	content: '*';
	color: #E20B32;
	padding-left: 3px;
}

.popup-target {
	padding-left: 15px;
	margin: 3px;
	background: no-repeat #FFFFFF;
	-moz-border-radius: 25px;
	-webkit-border-radius: 25px;
	border-radius: 25px;
	border: 1px black solid;
}

.calendar_title {
	padding-top: 10px;
	color: #444444;
}

.calendar {
	background: transparent url(../images/calendar.png) no-repeat left top;
	padding-left: 17px;
}

.viewForm a.edit {
	background: transparent url(../images/edit.gif) no-repeat left top;
	display: block;
	float: left;
	text-indent: -9000px;
	vertical-align: middle;
	width: 24px;
	height: 25px;
}